﻿using Nop.Web.Services.Domain;
using System;
using System.Collections.Generic;
using System.Text;

namespace Nop.Web.Services.Models
{
    public class WriteWalletQueueParameter
    {
        public HPayWalletQueued._SourceType SourceType { get; set; }

        public decimal Amount { get; set; }

        public int EntityId { get; set; }

        public string DescribeTemplate { get; set; }

       

        public int WalletType { get; set; }


        public List<RuleMemberPercent> RuleMemberPercents { get; set; }

        public class RuleMemberPercent {
            public List<MemberPercent> MemberPercents { get; set; }

            public string RuleName { get; set; }
        }

        public class MemberPercent
        {
            public long HUC_MemberId { get; set; }
            public int CustomerId { get; set; }
            public float Percent { get; set; }
        }
    }
}
